package com.kly.cashmall.bean;

import java.util.List;

import lombok.Data;

/**
 * Created by
 * on 2019/5/6.
 */
@Data
public class LoanDetailBean {
    private String tradeNo;
    private String categoryCode;
    private String categoryName;//类目名称
    private String categoryLogo;//类目图标
    private String orderApplyDate;//类目申请日期
    private StatusInfo orderInfo;
    private List<OrderFieldDetailsBean> orderFieldDetails;
    private List<LoanDetailBillVOSBean> repaymentPlans;
    private MsgInfo msgInfo;
    private OrderWithdrawInfo orderWithdrawInfo;
    private OrderWithdrawButton orderWithdrawButton;


    @Data
    public class StatusInfo {
        private int status;//0 1 2-Reviewing 3-Transfering 4-Pay Failed  5-Waiting For Repay  6-Overdue  7-Completed 8-Refused
        private String statusText;
        private String buttonText;
        private String repaymentDate;
        private int currentPeriod;
        private String principal;
        private String interest;
        private String overdueFee;
        private String repaymentAmount;
        private String jumpUrl;
        private String tips;
        private String billNo;
        private boolean showExtension;

    }

    @Data
    public class MsgInfo{
        private String title;
        private String msg;
        private String imgUrl;
    }

    @Data
    public class OrderWithdrawInfo{
        private String title;
        private String principal;
        private String tips;
        private List<String> highlightTextList;
        private String nextIconUrl;
        private String nextPrincipal;
        private String nextTitle;
        private String nextTips;
    }

    @Data
    public class OrderWithdrawButton{
        private String buttonText1;
        private String buttonText2;
    }

}
